package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.UserDeclaration;

/**
 * 报单Service接口
 * 
 * @author triangle
 * @date 2022-07-28
 */
public interface IUserDeclarationService 
{
    /**
     * 查询报单
     * 
     * @param decId 报单主键
     * @return 报单
     */
    public UserDeclaration selectUserDeclarationByDecId(Long decId);

    /**
     * 查询报单列表
     * 
     * @param userDeclaration 报单
     * @return 报单集合
     */
    public List<UserDeclaration> selectUserDeclarationList(UserDeclaration userDeclaration);

    /**
     * 新增报单
     * 
     * @param userDeclaration 报单
     * @return 结果
     */
    public int insertUserDeclaration(UserDeclaration userDeclaration) throws Exception;

    /**
     * 修改报单
     * 
     * @param userDeclaration 报单
     * @return 结果
     */
    public int updateUserDeclaration(UserDeclaration userDeclaration);

    /**
     * 批量删除报单
     * 
     * @param decIds 需要删除的报单主键集合
     * @return 结果
     */
    public int deleteUserDeclarationByDecIds(String decIds);

    /**
     * 删除报单信息
     * 
     * @param decId 报单主键
     * @return 结果
     */
    public int deleteUserDeclarationByDecId(Long decId);
}
